package com.rdk.entity;

import java.util.Date;

import com.rdk.utils.DateUtil;

public class DataBean {
	/** 带有@ToExport为导出字段，导出顺序自上到下 */

	
	private String addTimeStr;
	
	private String poTimeStr;

	// 添加时间
	private long addTime;
	// 发布时间，精确到毫秒

	private long poTime;
	// 文档名称
	
	private String title;
	// 站点名称
	
	private String webSite;
	// 作者
	
	private String author;
	// 回复数
	
	private int replay;
	// 浏览数
	
	private int view;
	// 舆情值
	
	private int opinionValue;
	
	// Url 不用来索引
	private String url;
	// 索引id
	private String id;

	// 内容
	private String content;

	// 来源
	private String source;

	// 网站pr值
	private int pr;
	// 站点类型
	private int webSiteType;

	// 正负面 :0是中性，1是正面，2是负面
	private int positiveOrNegative;
	// 境内外
	private short abroad;
	// 扩展值
	private int spreadValue;

	// 网站重要度
	private int importanceDegree;

	// 热敏值
	private int sensitiveValue;

	// 快照地址
	private String snapshotAddress;

	// 区位码
	private String administrativeId;

	// 标题指纹
	private String titlePrint;

	// 标题内容指纹
	private String titleContentPrint;

	// 转发数
	private int transer;
	// 点赞数
	private int praiseCount;
	// 内容@的人
	private String aPersion;
	
	// 同贴数量
	private int doc_count;
	
	// 图片地址
	private String img;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getTitle() {
		
		return title;
	}

	public void setTitle(String title) {
		this.title = title.replaceAll("<vrvHL>", "").replaceAll("</vrvHL>", "");
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public long getPoTime() {
		return poTime;
	}

	public void setPoTime(long poTime) {
		this.poTime = poTime;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public long getAddTime() {
		return addTime;
	}

	public void setAddTime(long addTime) {
		this.addTime = addTime;
	}

	public int getPr() {
		return pr;
	}

	public void setPr(int pr) {
		this.pr = pr;
	}

	public int getWebSiteType() {
		return webSiteType;
	}

	public void setWebSiteType(int webSiteType) {
		this.webSiteType = webSiteType;
	}

	public String getWebSite() {
		return webSite;
	}

	public void setWebSite(String webSite) {
		this.webSite = webSite;
	}

	public int getPositiveOrNegative() {
		return positiveOrNegative;
	}

	public void setPositiveOrNegative(int positiveOrNegative) {
		this.positiveOrNegative = positiveOrNegative;
	}

	public short getAbroad() {
		return abroad;
	}

	public void setAbroad(short abroad) {
		this.abroad = abroad;
	}

	public int getSpreadValue() {
		return spreadValue;
	}

	public void setSpreadValue(int spreadValue) {
		this.spreadValue = spreadValue;
	}

	public int getReplay() {
		return replay;
	}

	public void setReplay(int replay) {
		this.replay = replay;
	}

	public int getView() {
		return view;
	}

	public void setView(int view) {
		this.view = view;
	}

	public int getImportanceDegree() {
		return importanceDegree;
	}

	public void setImportanceDegree(int importanceDegree) {
		this.importanceDegree = importanceDegree;
	}

	public int getOpinionValue() {
		return opinionValue;
	}

	public void setOpinionValue(int opinionValue) {
		this.opinionValue = opinionValue;
	}

	public int getSensitiveValue() {
		return sensitiveValue;
	}

	public void setSensitiveValue(int sensitiveValue) {
		this.sensitiveValue = sensitiveValue;
	}

	public String getSnapshotAddress() {
		return snapshotAddress;
	}

	public void setSnapshotAddress(String snapshotAddress) {
		this.snapshotAddress = snapshotAddress;
	}

	public String getAdministrativeId() {
		return administrativeId;
	}

	public void setAdministrativeId(String administrativeId) {
		this.administrativeId = administrativeId;
	}

	public String getTitlePrint() {
		return titlePrint;
	}

	public void setTitlePrint(String titlePrint) {
		this.titlePrint = titlePrint;
	}

	public String getTitleContentPrint() {
		return titleContentPrint;
	}

	public void setTitleContentPrint(String titleContentPrint) {
		this.titleContentPrint = titleContentPrint;
	}

	public int getTranser() {
		return transer;
	}

	public void setTranser(int transer) {
		this.transer = transer;
	}

	public int getPraiseCount() {
		return praiseCount;
	}

	public void setPraiseCount(int praiseCount) {
		this.praiseCount = praiseCount;
	}

	public String getaPersion() {
		return aPersion;
	}

	public void setaPersion(String aPersion) {
		this.aPersion = aPersion;
	}

	public String getPoTimeStr() {
		return DateUtil.toString(new Date(this.poTime),
				"yyyy-MM-dd");
	}

	public String getAddTimeStr() {
		return DateUtil.toString(new Date(this.addTime),
				"yyyy-MM-dd");
	}

	public int getDoc_count() {
		return doc_count;
	}

	public void setDoc_count(int doc_count) {
		this.doc_count = doc_count;
	}

	public String getImg() {
		return img;
	}

	public void setImg(String img) {
		this.img = img;
	}
	
	
	
	

}
